<?php

namespace App\Model;

class AreaModel extends BaseModel
{
    protected $table = 'area';
    protected $primaryKey = 'id';


    public function child(){
        return $this->hasMany(AreaModel::class,'parentid','id');
    }
}
